package com.example.pm;

public class Room
{  
	/**
	 * ＝＝＝＝＝＝＝＝＝＝＝＝＝Room类说明＝＝＝＝＝＝＝＝＝＝＝＝＝
	 * Room内主要用于记录房间的相关情况
	 * 
	 * 
	 * */
	//以下数据服务器更新下载
	private int roomId;//房间门牌号
	private String roomName;//房间名称
	private String creator;//房间创始人
	private String password;//登陆密码
	private String createTime;  //房间创建时间
	private boolean status;//房间状态
	private String remarks;//备注信息
	
	private final static boolean ROOM_OPEN=true;
	private final static boolean ROOM_LOCK=false;
	
	Room(){
		    this.roomId=0;
			this.status=ROOM_OPEN;
			this.creator="";
			this.password="";
			this.createTime="";
			this.status=ROOM_LOCK;
			this.remarks="";			
	}
	public int getRoomId() {
		return roomId;
	}
	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}
	public String getRoomName() {
		return roomName;
	}
	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}